#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PECL_NAME:=memcache
PECL_LONGNAME:=PHP extension for interfacing with memcached

PKG_VERSION:=8.2
PKG_RELEASE:=1
PKG_HASH:=b3f0640eacdeb9046c6c86a1546d7fb8a4e9f219e5d9a36a287e59b2dd8208e5

PKG_NAME:=php8_4_lede-pecl-$(PECL_NAME)
PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://pecl.php.net/get/

PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php8_4/$(PECL_NAME)-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1

PKG_MAINTAINER:=Joyplayer <joyplayer@126.com>
PKG_LICENSE:=Sleepycat

PKG_LICENSE:=PHP-3.01
PKG_LICENSE_FILES:=COPYING

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
include ../php8_4_lede/pecl.mk

$(eval $(call PHP8_4_LEDE_PECLPackage,$(PECL_NAME),$(PECL_LONGNAME),+php8_4_lede +memcached_lede,25))
$(eval $(call BuildPackage,$(PKG_NAME)))
